package vk;

/**
 * User: ekozobrodov
 */
public class Video {
    private int id;
    private String title;
    private int ownerId;
    private int duration; // In seconds
    private String thumb;
    private String player;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(int ownerId) {
        this.ownerId = ownerId;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public String getPlayer() {
        return player;
    }

    public void setPlayer(String player) {
        this.player = player;
    }

    @Override
    public String toString() {
        return "Video{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", ownerId=" + ownerId +
                ", duration=" + duration +
                ", thumb='" + thumb + '\'' +
                ", player='" + player + '\'' +
                '}';
    }
}
